﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Admin_FillPoint.aspx.cs" Inherits="Master_Admin_FillPoint" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>增加用户虚拟货币</title>
    <link href="Css/Css.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../Script/jquery.js"></script>
    <script type='text/javascript' src='../Script/jquery.autocomplete.js'></script>
    <link rel="stylesheet" type="text/css" href="../Css/jquery.autocomplete.css" /> 
    <script type="text/javascript">
        function validateEmpty()
        {
            var txtNum=$("#txtNum").val();
            if(txtNum=="")
            {
                alert('货币数量不能为空!');
                return false;
            }
            for(var i=0;i<txtNum.length;i++)
            {
                if(isNaN(txtNum.substr(i,1)))
                {
                    alert('货币数量只能为数字!');
                    return false;
                }
            }
            return true;
        }
    </script>
</head>
<body>
    <form id="Form1" runat="server">
    <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border" align="center">
        <tr>
            <td colspan="2" align="center" class="title">
                <strong>增加用户虚拟货币</strong>
            </td>
        </tr>
        <tr class="tdbg">
            <td width="70" height="30">
                <strong>管理导航：</strong>
            </td>
            <td height="30">
                <a href="Admin_AddPoint.Aspx">充值卡管理</a>&nbsp;|&nbsp;<a href="Admin_AddPoint.Aspx?action=addmore">批量新增充值卡</a>&nbsp;|&nbsp;<a
                    href="Admin_FillPoint.aspx">增加用户虚拟货币</a>&nbsp;|<a href="Admin_AgentFillPoint.aspx">增加代理商虚拟货币</a>
            </td>
        </tr>
    </table>
    <table cellpadding="0" cellspacing="1" border="0" width="100%" class="border" align="center">
        <tr>
            <td colspan="2" align="center" class="title">
                <strong>增加用户虚拟货币</strong>
            </td>
        </tr>
        <tr  class="tdbg">
            <td align="center" class="title"> 增加货币数量： 
            </td>
            <td>
                <asp:TextBox ID="txtNum" runat="server" />
            </td>
        </tr>
        <tr  class="tdbg">
            <td align="center" class="title">增加用户：
            </td>
            <td>
                <asp:DropDownList ID="ddluserId" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center" class="title">
                <asp:Button ID="btnSubmit" runat="server" OnClientClick="return validateEmpty();" Text="确定" onclick="btnSubmit_Click" />&nbsp;&nbsp;<asp:Button ID="btnCancle" runat="server" Text="取消" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>

